package com.longer.demo.biz.repository;

import com.longer.demo.biz.domain.ItemDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ItemDOMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(ItemDO record);

	List<ItemDO> getAll();

	int insertSelective(ItemDO record);

	ItemDO selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(ItemDO record);

	int updateByPrimaryKey(ItemDO record);

	int increaseSales(@Param("account") Integer  account,@Param("id") Integer id);
}